package com.isoft.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 封装生命周期分页查询结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "生命周期分页查询结果")
public class CycPageResult<T> {
    @Schema(description = "总记录数")
    private Long total; //总记录数
    @Schema(description = "当前页数据集合")
    private List<T> records; //当前页数据集合

}
